package aop.service.impl;

import aop.service.UserService;
import org.springframework.stereotype.Service;

/**
 * Author：汤小洋
 * Date：2023-09-20 9:21
 * Description：<描述>
 */
@Service
public class UserServiceImpl implements UserService {

    @Override
    public void login(String username, String password) {
        System.out.println("UserServiceImpl.login........" + username + "," + password);
    }

    @Override
    public String logout() {
        System.out.println("UserServiceImpl.logout......");
        return "bye bye";
    }

    @Override
    public void register(String username, int age, String sex) {
        System.out.println("UserServiceImpl.register......"+ username+","+age+","+sex);

        System.out.println(5/0);

    }
}
